package com.situ.service.impl;

import com.situ.dao.TypeDao;
import com.situ.entity.Type;
import com.situ.service.TypeService;

import java.util.List;

/**
 * @author yangkx
 * @create 2023-09-09-9:41
 */
public class TypeServiceImpl implements TypeService {

    TypeDao dao = new TypeDao();

    //发请求去查分类数据
    @Override
    public List<Type> all() {
        return dao.all();
    }
}
